// map 中 for-range 的配套用法
package main

import "fmt"

func main() {
	capitals := map[string]string{"France":"Paris", "Italy":"Rome", "Japan":"Tokyo"}
	for key := range capitals {
		fmt.Println("Map item: Capital of", key, "is", capitals[key])
	}

}